﻿using System.Data;
using Video.Application.Contract.Base;

namespace Video.Application.Contract.UserInfos.Dtos;

public class UserInfoRoleDto:EntityDto
{
    public UserInfoRoleDto()
    {
        Role = new List<RoleDto>();
    }
    public string? Name { get; set; }
    public string? UserName { get; set; }
    public string? Password { get; set; }
    /// <summary>
    /// 用户头像
    /// </summary>
    public string? Avatart { get; set; }
    /// <summary>
    /// 是否启用
    /// </summary>
    public bool Enable { get; set; } = true;

    public List<RoleDto> Role { get; set; }
}
